home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 18 / AMIGAplus Sonderheft 18 (1999)(ICP)(DE)[!].iso / PD / Anwendungen / ppmtoscr3 / Install ppmtoscr < prev    next >
Text File  |  1999-01-04  |  1KB  |  55 lines

  1. ; $VER:PPMtoSCR version 3.2 Installation Script (10.09.98)
  2.  
  3. (welcome)
  4.  
  5. (set @default-dest
  6.   (askdir
  7.     (prompt "Please choose where you want to install ppmtoscr\n"
  8.     "A drawer will NOT be created there")
  9.     (help @askdir-help)
  10.     (default @default-dest)
  11.   )
  12. )
  13.  
  14.   (copyfiles
  15.     (prompt "Copy ppmtoscr")
  16.     (help @copyfiles-help)
  17.     (source "ppmtoscr")
  18.     (dest @default-dest)
  19.     (optional "fail" "force" "askuser")
  20.   )
  21.  
  22.   (copyfiles
  23.     (prompt "Do you want to install the documentation for ppmtoscr?")
  24.     (help @copyfiles-help)
  25.     (source "ppmtoscr.guide")
  26.     (dest @default-dest)
  27.     (confirm)
  28.     (infos)
  29.     (optional "fail" "force" "askuser")
  30.   )
  31.  
  32.   (copyfiles
  33.     (prompt "Do you want to install the example pictures?")
  34.     (help @copyfiles-help)
  35.     (source "Examples")
  36.     (dest (tackon @default-dest "Examples"))
  37.     (confirm)
  38.     (infos)
  39.     (all)
  40.     (optional "fail" "force" "askuser")
  41.   )
  42.  
  43. (startup "ppmtoscr"
  44.   (prompt "ppmtoscr is designed to be used with the NetPBM programs for image "
  45.   "conversion from other formats.  To use ppmtoscr in scripts, it really "
  46.   "needs to be in your command path.  In addition, this will make it easier "
  47.   "to execute it from the CLI.\n\n"
  48.   "To do this, the following command will be added to your user-startup;\n\n"
  49.   "PATH \"" @default-dest "\" ADD")
  50.   (help @startup-help)
  51.   (confirm)
  52.   (command "PATH \"" @default-dest "\" ADD")
  53. )
  54.  
  55.